package imagekeeper.data;

import java.sql.Connection;
import java.sql.SQLException;
import imagekeeper.data.mapping.ImageMapper;


class SqlStatementRemoveImageByLink extends SqlStatement {
    private final static String ParamRemovingLink = "removingLink";
    
    public SqlStatementRemoveImageByLink(Connection con, String removingLink) throws SQLException {
        statement = con.prepareCall("{call " + ImageMapper.SpRemoveImageByLink + "(?)}");
        statement.setString(ParamRemovingLink, removingLink);
    }
}
